package com.bootdo.syn.dao;

import com.bootdo.syn.domain.SynFileTable;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-11-08 11:32:44
 */
@Mapper
public interface SynFileTableDao {

	SynFileTable get(Long id);


	@Select("SELECT id from hjb_syn_file_table ORDER BY id desc limit 1 ")
	Long getByLastId();
	
	List<SynFileTable> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(SynFileTable synFileTable);
	
	int update(SynFileTable synFileTable);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
